using UnityEngine;

public class Sample : MonoBehaviour
{
    public Vector2Int leftDown, size, min, max;
    public RectInt rect;

    private void OnDrawGizmos()
    {
        rect = new RectInt(leftDown, size);
        min = rect.min;
        max = rect.max;
    }
}
